package top.infopub.mgr.mkt.dao;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.infopub.dto.mkt.AfterSummaryDto;
import top.infopub.generic.GenericDao;
import top.infopub.mgr.mkt.domain.BidCurrencyDomain;
import top.infopub.mgr.mkt.vo.BidCurrencyVo;
import top.infopub.model.mkt.BidOpenResult;

/**
 * @Author Warking
 * @Date 2021/4/27 16:14
 * @Version 1.0
 */
@Repository
public interface BidOpenResultDao extends GenericDao<BidOpenResult, String> {
    Page<BidCurrencyDomain> selectByDomainWhere(BidCurrencyVo bidCurrencyVo);



    void updateById(BidOpenResult bidOpenResult);

    BidOpenResult selectById(String id);

    AfterSummaryDto queryDetailById(String id);

    void insertByProcess(BidOpenResult bidOpenResult);

    BidOpenResult queryByProCode(@Param("proCode") String proCode);
}
